from rest_framework.serializers import ModelSerializer
from .models import *

class NewsSer(ModelSerializer):
    class Meta:
        model=News
        fields="__all__"

class Ggser(ModelSerializer):
    class Meta:
        model =Gg
        fields = '__all__'

class SmsSDK(ModelSerializer):
    class Meta:
        model = Text
        fields = '__all__'

class Goodss(ModelSerializer):
    class Meta:
        model = Goods
        fields = '__all__'

class CateSer(ModelSerializer):
    class Meta:
        model = Category
        fields = '__all__'